#!/usr/bin/env python
#-*- coding:utf-8 -*-
'''
__author-default__ = 'Pup--->>WX_l599p22'
__cttime-default__ = '20170721'
'''

from flask import Flask
from flask_mongoengine import MongoEngine


app = Flask(__name__)
app.config['MONGODB_SETTINGS'] = {
	'host' : 'localhost',
	'port' : 27017,
	'db' : 'admin',
	'username' : 'admin',
	'password' : '@admin521'
	}
db = MongoEngine(app)

@app.route('/')
def hello_world():
	print 'hello world'


if __name__=='__main__':
	app.run()